package entity;

public class ConsumInfo {
    private Integer cardNumber;  //电话卡号

    private Integer type;  //数据类型（通话、上网、短信）

    private int consumData; //消费信息

    public ConsumInfo() {
    }

    public ConsumInfo(Integer cardNumber, Integer type, int consumData) {
        this.cardNumber = cardNumber;
        this.type = type;
        this.consumData = consumData;
    }

    public Integer getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(Integer cardNumber) {
        this.cardNumber = cardNumber;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public int getConsumData() {
        return consumData;
    }

    public void setConsumData(int consumData) {
        this.consumData = consumData;
    }

    @Override
    public String toString() {
        return "ConsumInfo{" +
                "cardNumber=" + cardNumber +
                ", type=" + type +
                ", consumData=" + consumData +
                '}';
    }
}
